using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class SuLabelConfiguration : EntityTypeConfiguration<SuLabel>
    {
        public SuLabelConfiguration()
        {
            Property(g => g.SuLabelID).IsRequired();
            Property(g => g.Amount).IsOptional();
            Property(g => g.ClientRef).IsOptional();
            Property(g => g.DateRef).IsOptional();
            Property(g => g.ItemUnit).IsOptional();
            Property(g => g.ItemDataRef).IsOptional();
            Property(g => g.LabelID).IsRequired();
            Property(g => g.LotRef).IsOptional();
            Property(g => g.Scale).IsOptional();
        }
    }
}